#if !defined(AFX_DLGACCOUNTEDIT_H__9049F19D_17A7_4622_A086_BD8BBD5BC971__INCLUDED_)
#define AFX_DLGACCOUNTEDIT_H__9049F19D_17A7_4622_A086_BD8BBD5BC971__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgAccountEdit.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDlgAccountEdit dialog
#include "EntityDefine.h"

class CDlgAccountEdit : public CDialog
{
	// Construction
public:
	lpAccount GetAcc();
	void ShowInfo();
	void BoundInfo();
	void SetShowType(int iShowType);
	void SetAcc(lpAccount pAcc);
	CDlgAccountEdit(CWnd* pParent = NULL);   // standard constructor

	// Dialog Data
	//{{AFX_DATA(CDlgAccountEdit)
	enum { IDD = IDD_DLG_TERMINAL_ADD };
	CComboBox	m_cmb_Server;
	CComboBox	m_cmb_Script;
	CString	m_strLoginName;
	CString	m_strLoginPwd;
	//}}AFX_DATA


	// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDlgAccountEdit)
protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

	// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDlgAccountEdit)
	virtual BOOL OnInitDialog();
	afx_msg void OnDestroy();
	virtual void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	int m_iShowType;
	lpAccount m_pAcc;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DLGACCOUNTEDIT_H__9049F19D_17A7_4622_A086_BD8BBD5BC971__INCLUDED_)
